﻿<%@ Page Language="C#"   AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="CanDoo.Oil.WebApp.buyInStoreDetail.Edit" %>


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>采购入库单明细编辑</title>
    <link href="/res/css/common.css" rel="stylesheet" />
</head>
<body>
<form id="form1" runat="server">
        <f:PageManager ID="PageManager1" AutoSizePanelID="PanelMain" runat="server" />

        <f:Panel ID="PanelMain" ShowBorder="false" ShowHeader="false"  AutoScroll="true" runat="server" Layout="Anchor" >
            <Toolbars>
                <f:Toolbar ID="Toolbar1" runat="server">
                    <Items>
                        <f:Button ID="btnClose" EnablePostBack="false" runat="server" Hidden="true"
                            Text="关闭">
                        </f:Button>
                        <f:Button ID="btnSave" ValidateForms="FormEdit" Hidden="true"
                            OnClick="btnSave_Click" runat="server" Text="保存">
                        </f:Button>
                        <f:Button ID="btnToEdit" Hidden="true"
                            OnClick="btnToEdit_Click" runat="server" Text="编辑信息">
                        </f:Button>
                        <f:HiddenField ID="ed_EntityId" runat="server"></f:HiddenField>
                    </Items>
                </f:Toolbar>
            </Toolbars>
            <Items>
                <f:Form BodyPadding="10px" ShowBorder="false" EnableCollapse="true"
                    ID="FormEdit" runat="server" ShowHeader="false" LabelAlign="Right">
                    <Items>
                        <f:Panel ID="Panel0" ShowHeader="false" ShowBorder="false" runat="server" Layout="Column" BoxConfigAlign="Stretch">
                            <Items>
                                <f:TextBox ID="ed_Name" runat="server" Required="true" ShowRedStar="True" Label="名称">
                                </f:TextBox>
                            </Items>
                        </f:Panel>
                        <f:Panel ID="Panel3" ShowHeader="false" ShowBorder="false" runat="server" Layout="Column" BoxConfigAlign="Stretch">
                            <Items>
                                <f:NumberBox ID="ed_Price" runat="server" Required="true" ShowRedStar="True" Label="单价">
                                </f:NumberBox>
                            </Items>
                        </f:Panel>
                        <f:Panel ID="Panel4" ShowHeader="false" ShowBorder="false" runat="server" Layout="Column" BoxConfigAlign="Stretch">
                            <Items>
                                <f:NumberBox ID="ed_Num" runat="server" Required="true" ShowRedStar="True" Label="数量">
                                </f:NumberBox>
                            </Items>
                        </f:Panel>
                        <f:Panel ID="Panel5" ShowHeader="false" ShowBorder="false" runat="server" Layout="Column" BoxConfigAlign="Stretch">
                            <Items>
                                <f:NumberBox ID="ed_Money" runat="server" Required="true" ShowRedStar="True" Label="金额">
                                </f:NumberBox>
                            </Items>
                        </f:Panel>
                        <f:Panel ID="Panel6" ShowHeader="false" ShowBorder="false" runat="server" Layout="Column" BoxConfigAlign="Stretch">
                            <Items>
                                <f:NumberBox ID="ed_AlreadyNum" runat="server" Required="true" ShowRedStar="True" Label="收货数量">
                                </f:NumberBox>
                            </Items>
                        </f:Panel>
                        <f:Panel ID="Panel7" ShowHeader="false" ShowBorder="false" runat="server" Layout="Column" BoxConfigAlign="Stretch">
                            <Items>
                                <f:NumberBox ID="ed_AlreadyMoney" runat="server" Required="true" ShowRedStar="True" Label="收货金额">
                                </f:NumberBox>
                            </Items>
                        </f:Panel>
                        <f:Panel ID="Panel8" ShowHeader="false" ShowBorder="false" runat="server" Layout="Column" BoxConfigAlign="Stretch">
                            <Items>
                                <f:NumberBox ID="ed_Coefficient" runat="server" Required="true" ShowRedStar="True" Label="出入库方向">
                                </f:NumberBox>
                            </Items>
                        </f:Panel>
                        <f:Panel ID="Panel9" ShowHeader="false" ShowBorder="false" runat="server" Layout="Column" BoxConfigAlign="Stretch">
                            <Items>
                                <f:TextArea ID="ed_Remark" runat="server" Label="备注"  Height="150px" MaxLength="500">
                                </f:TextArea>
                            </Items>
                        </f:Panel>
                    </Items>
                </f:Form>
            </Items>
        </f:Panel>
    </form>
</body>
</html>
